package org.simplextensions.registry;

import java.util.HashMap;
import java.util.Map;


public abstract class EScanPhaseListener implements IExtensionScanPhaseListener{

	private Map<String, Integer> sequences = new HashMap<String, Integer>();

	protected synchronized Integer getSequenceValue(String substring) {
		Integer integer = this.sequences.get(substring);
		if (integer == null) {
			integer = 0;
		}
		this.sequences.put(substring, ++integer);
		return integer;
	}
	
	
	
	
	
}
